/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package mypack;

/**
 *
 * @author pascal
 */
import java.sql.Timestamp;
import java.util.Date;

public class GetCurrentTimeStamp {

    public String myStamp;

    public GetCurrentTimeStamp() {


        Date date = new Date();
        Timestamp timeStampDate = new Timestamp(date.getTime());
        System.out.println("Today is " + System.currentTimeMillis());
        myStamp = timeStampDate.toString();
    }

    public String getMyStamp() {
        return myStamp;
    }

    public void setMyStamp(String myStamp) {
        this.myStamp = myStamp;
    }
}
